package cn.com.haopy.yue.ai.db.service.hos;


import cn.com.haopy.yue.ai.db.entity.arisk.HOSStorage;
import cn.com.haopy.yue.ai.db.service.IBaseService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface HOSStorageService extends IBaseService<HOSStorage> {
    /**
     * 分页查询
     * @param key
     * @param name
     * @param pOSeNo
     * @param size
     * @param sort
     * @param order
     * @return
     */
    Page<HOSStorage> querySelective(String key, String name, Integer pOSeNo, Integer size, String sort, String order);

    /**
     * 根据key获取value
     * @param key
     * @return
     */
    HOSStorage findByKey(String key);

    /**
     * 删除key
     * @param key
     */
    void deleteByKey(String key);
}
